/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
public class Main {
    public static void main(String[] args) {
        int a = 5,b = 4,c = 6,tamp = 0;
        if(a > b){
            tamp = a;
            a = b;
            b = tamp;
        }
        if(c < b){
            tamp = c;
            c = b;
            b = tamp;
        }
        System.out.println("最小值");
        System.out.println(a);
        System.out.println("最大值");
        System.out.println(c);


    }
}